package com.ruoyi.web.controller.mall.shopExpressMessage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 快递单信息对象 shop_express_message
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class ShopExpressMessage //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private String id;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String expressId;

    /** 快递编码 */
    @Excel(name = "快递编码")
    private String code;

    /** 快递名称 */
    @Excel(name = "快递名称")
    private String name;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 快递状态 0-无轨迹 2-在途中，3-签收,4-问题件 */
    @Excel(name = "快递状态 0-无轨迹 2-在途中，3-签收,4-问题件")
    private Long status;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date opAt;

    /** 删除标记 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setExpressId(String expressId) 
    {
        this.expressId = expressId;
    }

    public String getExpressId() 
    {
        return expressId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setOpAt(Date opAt) 
    {
        this.opAt = opAt;
    }

    public Date getOpAt() 
    {
        return opAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("expressId", getExpressId())
            .append("code", getCode())
            .append("name", getName())
            .append("userId", getUserId())
            .append("orderId", getOrderId())
            .append("status", getStatus())
            .append("opAt", getOpAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
